
package com.wwy.monitor.model.enumeration;

/**
 * @author tianquan.ld
 * @version V1.0
 * <p>Description: </p>
 * @date 2019-10-29 16:49
 */
public enum EmailStatusEnum {

    NOT_SEND(0, "未发送"),
    SENDIND(1, "发送中"),
    SUCCESSFUL(2, "发送成功"),
    FAIL(3, "发送失败"),
    ;

    /**
     * 状态码
     */
    private int value;
    /**
     * 状态描述
     */
    private String desc;

    EmailStatusEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}